dic = {"result": {"tools": [
    {"name": "create-contract-order-unionpay-payment", "description": "创建一笔签约支付订单，并返回授权签约链接",
     "inputSchema": {"type": "object",
                     "properties": {"orderId": {"type": "string", "description": "交易订单号,格式:8~40位字母数字"},
                                    "txnTime": {"type": "string", "description": "交易时间,格式:yyyyMMddHHmmss"},
                                    "certifTp": {"type": "string", "description": "证件类型,格式:2位数字"},
                                    "certifId": {"type": "string", "description": "证件号码,格式:1~20位字母数字"},
                                    "customerNm": {"type": "string", "description": "用户姓名,格式:1~120字母数字"},
                                    "phoneNo": {"type": "string", "description": "手机号,格式:1~20位手机号"},
                                    "riskRateInfo": {"type": "string", "description": "风险信息域的JSON字符串格式"}},
                     "required": ["orderId", "certifTp", "certifId", "customerNm", "phoneNo"]}},
    {"name": "create-contract-unionpay-payment",
     "description": "发起签约交易，并返回签约信息,该交易是签约下单的后续交易，是支付的前序交易，且签约交易只需做一次，可以实现多次支付",
     "inputSchema": {"type": "object",
                     "properties": {"orderId": {"type": "string", "description": "交易订单号,格式:8~40位字母数字"},
                                    "txnTime": {"type": "string", "description": "交易时间,格式:yyyyMMddHHmmss"},
                                    "origOrderId": {"type": "string", "description": "签约下单交易请求的订单号orderId"},
                                    "origTxnTime": {"type": "string", "description": "签约下单交易应答的txnTime"},
                                    "tokenType": {"type": "string", "description": "token类型,格式:2位数字"}},
                     "required": ["orderId", "origOrderId", "origTxnTime", "tokenType"]}},
    {"name": "pay-contract-order-unionpay-payment", "description": "创建一笔签约支付订单，并返回用户支付结果",
     "inputSchema": {"type": "object", "properties": {"orderId": {"type": "string", "description": "商户订单号"},
                                                      "txnTime": {"type": "string",
                                                                  "description": "交易时间,格式:yyyyMMddHHmmss"},
                                                      "txnAmt": {"type": "string",
                                                                 "description": "用户发起的本次交易额度,单位元"},
                                                      "token": {"type": "string",
                                                                "description": "签约完成时候返回的用户token"},
                                                      "customerNm": {"type": "string",
                                                                     "description": "支付用户个人信息，用户名"},
                                                      "currencyCode": {"type": "string",
                                                                       "description": "交易币种，选送"},
                                                      "phoneNo": {"type": "string",
                                                                  "description": "支付用户个人信息，手机号"},
                                                      "certifTp": {"type": "string",
                                                                   "description": "支付用户个人信息，证件类型"},
                                                      "certifId": {"type": "string",
                                                                   "description": "支付用户个人信息，证件号"},
                                                      "riskRateInfo": {"type": "string",
                                                                       "description": "风险信息域的JSON字符串格式"}},
                     "required": ["orderId", "txnAmt", "token"]}}, {"name": "cancel-contract-order-unionpay-payment",
                                                                    "description": "创建一笔解约订单，并返回解约结果,该交易是签约的反向交易",
                                                                    "inputSchema": {"type": "object", "properties": {
                                                                        "orderId": {"type": "string",
                                                                                    "description": "商户订单号"},
                                                                        "txnTime": {"type": "string",
                                                                                    "description": "交易时间,格式:yyyyMMddHHmmss"},
                                                                        "token": {"type": "string",
                                                                                  "description": "签约完成时候返回的用户token"}},
                                                                                    "required": ["orderId", "token"]}},
    {"name": "refund-contract-order-unionpay-payment",
     "description": "创建一笔退货订单，并返回退货结果。上送银联受理订单号或原始商户订单号+原始订单交易时间即可发起退货",
     "inputSchema": {"type": "object", "properties": {"orderId": {"type": "string", "description": "商户订单号"},
                                                      "txnTime": {"type": "string",
                                                                  "description": "交易时间,格式:yyyyMMddHHmmss"},
                                                      "origTxnTime": {"type": "string",
                                                                      "description": "待退货的订单发起时间"},
                                                      "origOrderId": {"type": "string",
                                                                      "description": "待退货的订单号"},
                                                      "txnAmt": {"type": "string", "description": "需要退货的金额"},
                                                      "origTn": {"type": "string",
                                                                 "description": "银联受理订单号，支付交易返回时携带"}},
                     "required": ["orderId", "txnAmt"]}},
    {"name": "query-unionpay-payment", "description": "发起查询交易，支持签约交易查询、支付交易查询、退款等查询类交易",
     "inputSchema": {"type": "object", "properties": {"orderId": {"type": "string",
                                                                  "description": "被查询交易订单号,原交易订单号,例如如查询支付交易,填支付交易orderId"},
                                                      "txnTime": {"type": "string",
                                                                  "description": "被查询交易交易时间,原交易时间,如查询支付交易,填支付交易txnTime"}},
                     "required": ["orderId", "txnTime"]}},
    {"name": "contract-pay-sms", "description": "创建一笔支付短信，当需要在支付前做短信验证时调用此接口",
     "inputSchema": {"type": "object",
                     "properties": {"orderId": {"type": "string", "description": "交易订单号,格式:8~40位字母数字"},
                                    "txnTime": {"type": "string", "description": "交易时间,格式:yyyyMMddHHmmss"},
                                    "token": {"type": "string", "description": "签约交易返回的token"},
                                    "txnAmt": {"type": "string", "description": "交易金额"},
                                    "currencyCode": {"type": "string", "description": "交易币种,默认156"}},
                     "required": ["orderId", "token", "txnAmt"]}},
    {"name": "apply-unionpay-qrCode", "description": "申请消费二维码,返回qrCode", "inputSchema": {"type": "object",
                                                                                                  "properties": {
                                                                                                      "orderId": {
                                                                                                          "type": "string",
                                                                                                          "description": "交易订单号,格式:8~40位字母数字"},
                                                                                                      "txnTime": {
                                                                                                          "type": "string",
                                                                                                          "description": "交易时间,格式:yyyyMMddHHmmss"},
                                                                                                      "payTimeout": {
                                                                                                          "type": "string",
                                                                                                          "description": "二维码有效时间,格式:YYYYMMDDhhmmss"},
                                                                                                      "txnAmt": {
                                                                                                          "type": "string",
                                                                                                          "description": "交易金额,单位元"}},
                                                                                                  "required": [
                                                                                                      "orderId"]}},
    {"name": "query-unionpay-QrCode-trade", "description": "发起二维码类查询交易，支持申码支付交易查询、退款等查询类交易",
     "inputSchema": {"type": "object", "properties": {"orderId": {"type": "string",
                                                                  "description": "被查询交易订单号,原交易订单号,当使用原交易orderId和txnTime查询时必填"},
                                                      "txnTime": {"type": "string",
                                                                  "description": "被查询交易交易时间,原交易时间,当使用原交易orderId和txnTime查询时必填"},
                                                      "queryId": {"type": "string",
                                                                  "description": "被查询交易流水号,当使用原交易流水号查询时必填"}}}},
    {"name": "refund-unionpay-qrCode",
     "description": "对之前二维码交易进行退货，仅30天之内交易可退货，多次退货累计退货金额不超过原始交易金额",
     "inputSchema": {"type": "object",
                     "properties": {"orderId": {"type": "string", "description": "交易订单号,格式:8~40位字母数字"},
                                    "txnTime": {"type": "string", "description": "交易时间,格式:yyyyMMddHHmmss"},
                                    "origTxnTime": {"type": "string",
                                                    "description": "原始交易的交易时间,格式:YYYYMMDDhhmmss"},
                                    "origOrderId": {"type": "string",
                                                    "description": "原始交易的订单号,格式:8~40位字母数字"},
                                    "origQryId": {"type": "string",
                                                  "description": "原始交易的查询ID,格式:查询订单请求返回的若干位数字"},
                                    "txnAmt": {"type": "string", "description": "待退货金额,单位元"}},
                     "required": ["orderId", "txnAmt"]}}]}, "jsonrpc": "2.0",
    "id": "1af4aa90-dd85-4b44-976f-b5771262f160"}
